package abstractfactory.main.itf;

import abstractfactory.main.model.Beverage;
import abstractfactory.main.model.ChickenWings;
import abstractfactory.main.model.FrenchFries;
import abstractfactory.main.model.Hamburg;
import abstractfactory.main.model.kfc.ChinaBeverage;
import abstractfactory.main.model.kfc.ChinaChickenWings;
import abstractfactory.main.model.kfc.ChinaFrenchFries;
import abstractfactory.main.model.kfc.ChinaHamburg;

public class ChinaKfcFactory implements IKfcFactory {
    @Override
    public Hamburg createHamburg(int num) {
        return new ChinaHamburg(num);
    }

    @Override
    public FrenchFries createFrenchFries(int num) {
        return new ChinaFrenchFries(num);
    }

    @Override
    public ChickenWings createChickenWings(int num) {
        return new ChinaChickenWings(num);
    }

    @Override
    public Beverage createBeverage(int num) {
        return new ChinaBeverage(num);
    }
}
